package com.funong.matrix.biz.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.funong.matrix.core.base.FunongBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("sys_msg_business_template")
@ApiModel(value="BusinessTemplate对象", description="")
public class SysMsgBusinessTemplateEntity extends FunongBaseEntity {

	@ApiModelProperty(value = "业务代码")
	private String businessCode;

	@ApiModelProperty(value = "抄送人")
	private String copyer;

	@ApiModelProperty(value = "抄送人类型")
	private String copyerType;

	@ApiModelProperty(value = "类型(信息:sms,邮件:mail,站内信:inmail)")
	private String messageType;

	@ApiModelProperty(value = "信息类别")
	private String messageCategory;

	@ApiModelProperty(value = "模板id")
	private Integer templateId;

	@ApiModelProperty(value = "发送人")
	private String sender;

	@ApiModelProperty(value = "接收者")
	private String receiver;

	@ApiModelProperty(value = "接收者类型，用户/角色")
	private String receiverType;

	@ApiModelProperty(value = "0:手动 1：自动")
	private Integer auto;

	@ApiModelProperty(value = "是否禁用 0禁用 1启用")
	private Integer status;
}
